package encaps.action;

import encaps.entities.Grant;

public class CreateCommentActionFactory extends ActionFactory {

    public CreateCommentActionFactory(Grant requiredGrant) {
        this.requiredGrant = requiredGrant;
    }

    @Override
    public Action createAction(ActionContext context) {
        return new CreateCommentAction(context, requiredGrant);
    }
}